package org.example.mapping;

/**
 * 封装应用实体
 **/
public class ServletMapping {

    /** 应用名 */
    private String servletName;

    /** 链接 */
    private String url;

    /** 类 */
    private String clazz;

    public ServletMapping(String servletName, String url, String clazz) {
        this.servletName = servletName;
        this.url = url;
        this.clazz = clazz;
    }

    public String getServletName() {
        return servletName;
    }

    public void setServletName(String servletName) {
        this.servletName = servletName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getClazz() {
        return clazz;
    }

    public void setClazz(String clazz) {
        this.clazz = clazz;
    }

    @Override
    public String toString() {
        return "ServletMapping{" +
                "servletName='" + servletName + '\'' +
                ", url='" + url + '\'' +
                ", clazz='" + clazz + '\'' +
                '}';
    }
}
